import Common from "../Common";

const {ccclass, property} = cc._decorator;

@ccclass
export default class PlayerWayDialog extends Common {

    @property(cc.RichText)
    protected richText: cc.RichText

    protected watch = {
        userInfo: (val, oldVal) => {
            this.richText.string = val.player_news || '玩法说明'
            console.log('this.richText.string::::', this.richText.string)
        }
    }
}
